- Add @param annotation for $params variable for __construct() method
in the HTMLExpiryField class.
- Add @throws annotation for getOptionsOOUI() method that throws a
MWException and remove "@return array" as this method only throw an
exception now.
Change-Id: I292f6ae04b840f6f6f74b7c92f834f056659fbe2
/**
* Relative Date Time Field.
/**
* Relative Date Time Field.
*/
public function __construct( array $params = [] ) {
parent::__construct( $params );
*/
public function __construct( array $params = [] ) {
parent::__construct( $params );
/**
* Get options and make them into arrays suitable for OOUI.
/**
* Get options and make them into arrays suitable for OOUI.
- * @return array Options for inclusion in a select or whatever.
*/
public function getOptionsOOUI() {
// Sections make this difficult. See getInputOOUI().
*/
public function getOptionsOOUI() {
// Sections make this difficult. See getInputOOUI().